#ifndef EXTEND_H_INCLUDED
#define EXTEND_H_INCLUDED

/*
** Copyright (C) QPSOFT.COM All rights reserved.
*/
#include "plugin.h"
#include "locale.h"
#include "iconv.h"
    extern char* gbk2utf8(const char *strGBK);
    extern char* utf82gbk(const char *strUTF8);
    extern void getDirectsList(char* path, std::ostringstream& cout);
    extern void executeProccess(char* , std::ostringstream& cout);
    extern void read_small_file( const char* file_name, const char* conv_from, const  char* conv_to, std::ostringstream& cout);
    extern void execute_cmd_command(char* args_str, std::ostringstream& cout);

    /*
    extern static NPIdentifier sfopen;
    extern static NPIdentifier sfwirte;
    extern static NPIdentifier sfread;
    extern static NPIdentifier sfseek;
    extern static NPIdentifier sfclose;
    */

    static NPIdentifier slstdir;
    static NPIdentifier sexecute;
    static NPIdentifier scmd;

    static NPIdentifier sread_small_file;

    static NPIdentifier sVer_id;
    static NPIdentifier sPluginType_id;
    static NPObject *sWindowObj;


#endif // EXTEND_H_INCLUDED
